{% extends 'user_layout.html' %}


{% block lk %}
    {% load static %}
    <link rel="stylesheet" href="{% static 'plugins/bootstrap-3.4.1/css/bootstrap.min.css' %}">
{% endblock %}


{% block content_user %}
     <div class="panel panel-default">
            <div class="panel-heading" style="background-color: #4cae4c">
                 <h3 style="color: white" class="panel-title">新建收货地址</h3>
            </div>
            <div class="panel-body">
{#                novalidate关闭网站数据校验#}
                <form method="post" novalidate>
                      {% csrf_token %}
                      {% for i in form %}
                          <div class="form-group">
                              <label >{{ i.label }}</label>
                                {{ i }}
                                <span style="color: #b92c28">{{ i.errors.0 }}</span>
                          </div>
                      {% endfor %}
                      <button type="submit" class="btn btn-primary" style="background-color: #4cae4c;border-color: #4cae4c">提交</button>
                </form>
            </div>
        </div>
{% endblock %}